Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore!: migrate AnalyticsData to new surface #7941

Merged
merged 2 commits into from
Jan 6, 2025
Merged

Conversation

bshaffer
Copy link
Contributor

@bshaffer bshaffer commented Dec 17, 2024

dropping previous surface clients

BREAKING_CHANGE_REASON=non-GA libraries can have breaking changes

@bshaffer bshaffer changed the title chore!: promote AnalyticsData to v2 chore!: migrate AnalyticsData to new surface Dec 17, 2024
@bshaffer bshaffer marked this pull request as ready for review December 20, 2024 17:36
@bshaffer bshaffer requested review from a team as code owners December 20, 2024 17:36
@bshaffer bshaffer added the next release PRs to be included in the next release label Dec 20, 2024
$request = (new CreateAudienceListRequest())
->setParent($formattedParent)
->setAudienceList($audienceList);
$request = (new CreateAudienceListRequest())->setParent($formattedParent)->setAudienceList($audienceList);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit:
I like the new line versions more for each method than inline.

@bshaffer bshaffer merged commit c7a9102 into main Jan 6, 2025
30 checks passed
@bshaffer bshaffer deleted the analyticsdata-v2 branch January 6, 2025 22:18
@carestad
Copy link

carestad commented Jan 13, 2025

Will the documentation and example code be updated in regards to the changes? runReport() seems to require an instance of RunReportRequest now, which it didn't before.

@bshaffer
Copy link
Contributor Author

@carestad thanks for pointing this out! Looks like we forgot to update it.

You'll see that atleast [the rest of the reference documentation](https://cloud.google.com/php/docs/reference/analytics-admin/latest/V1beta.Client.AnalyticsAdminServiceClient is up to date!

@bshaffer
Copy link
Contributor Author

@carestad fixed in #8012 - this will be updated for the next release. Thanks again for bringing this to our attention!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next release PRs to be included in the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants